Woolentor\Modules\AbandonedCart\Frontend\Checkout_Data_Manager C

Total Complexity 108
Dependencies 2
Dependents 1
Total lines 587
Lines of code 393
Logical lines of code 182
Comment lines 100
Methods 20
Properties 2

Methods 20

Method Rating Maintainability Complexity Lines of code
sanitize_field_value()
C
44 26 41
extract_customer_info()
A
41 13 60
process_and_save_checkout_data()
A
50 8 29
extract_custom_fields()
A
47 7 37
get_client_ip()
S
52 7 24
get_customer_address_from_cart()
S
54 7 23
get_customer_name_from_cart()
S
57 5 16
determine_checkout_step()
S
62 5 11
get_checkout_completion_percentage()
S
55 4 21
capture_checkout_data()
S
64 5 10
capture_checkout_data_from_process()
S
64 5 10
get_checkout_tracking_script()
S
50 1 59
ajax_save_checkout_data()
S
61 4 12
enqueue_checkout_scripts()
S
70 3 6
get_customer_info_from_cart()
S
68 3 7
__construct()
S
77 1 4
init_hooks()
S
67 1 7
set_cart_manager()
S
81 1 3
update_customer_info()
S
66 1 8
clear_customer_info()
S
73 1 5